<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title></title>
    <link href="lib/layui/css/layui.css" rel="stylesheet">
    <script type="text/javascript" src="lib/layui/layui.js"></script>
    <script type="text/javascript" src="js/jquery-1.8.3.js"></script>
    <script type="text/javascript" src="js/carrier_based_aircraft_list.js"/>
    <script type="text/javascript" src="js/xadmin.js"></script>
    <style>
        .login-container {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }
    </style>
</head>
<body>


<div style="display: none;" class="login-container" id="updateTime">
    <form class="layui-form" id="updateAircraftCarrier">
        <div class="layui-form-item">
            <label class="layui-form-label">时刻</label>
            <div class="layui-input-inline">
                <input type="text" name="moment" id="moment" required lay-verify="required" lay-reqtext="请输入时刻"
                       placeholder="请输入时刻" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">信息类型</label>
            <div class="layui-input-inline">
                <input type="text" name="messageType" required lay-verify="required" lay-reqtext="请输入信息类型"
                       placeholder="请输入信息类型" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">事件</label>
            <div class="layui-input-inline">
                <input type="text" name="event" required lay-verify="required" lay-reqtext="请输入事件"
                       placeholder="请输入事件" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">信息来源</label>
            <div class="layui-input-inline">
                <input type="text" name="messageCome" id="messageCome" required lay-verify="required"
                       lay-reqtext="请输入信息来源"
                       placeholder="请输入信息来源" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" id="updateButton" lay-submit lay-filter="updateTime" type="submit">
                    修改
                </button>
                <button type="reset" class="layui-btn">重置</button>
            </div>
        </div>
    </form>
</div>


<div style="display: none;" class="login-container" id="addTime">
    <form class="layui-form" id="addTimeInfo">
        <div class="layui-form-item">
            <label class="layui-form-label">时刻</label>
            <div class="layui-input-inline">
                <input type="text" name="moment" id="moment1" required lay-verify="required" lay-reqtext="请输入时刻"
                       placeholder="请输入时刻" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">信息类型</label>
            <div class="layui-input-inline">
                <input type="text" name="messageType" required lay-verify="required" lay-reqtext="请输入信息类型"
                       placeholder="请输入信息类型" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">事件</label>
            <div class="layui-input-inline">
                <input type="text" name="event" required lay-verify="required" lay-reqtext="请输入事件"
                       placeholder="请输入事件" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">信息来源</label>
            <div class="layui-input-inline">
                <input type="text" name="messageCome"  required lay-verify="required"
                       lay-reqtext="请输入信息来源"
                       placeholder="请输入信息来源" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" id="addButton" lay-submit lay-filter="addTime" type="submit">
                    添加
                </button>
                <button type="reset" class="layui-btn">重置</button>
            </div>
        </div>
    </form>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header">
                    <button id="add" class="layui-btn"><i
                            class="layui-icon"></i>添加
                    </button>
                </div>
                <div class="layui-card-body layui-table-body layui-table-main">
                    <table class="layui-hide" id="templet" lay-filter="pageTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<script type="text/html" id="barEdit">
    <span style="cursor: pointer" id="show">
			<i class="layui-icon" lay-event="edit">&#xe642;</i>
			<i class="layui-icon" lay-event="del">&#xe640;</i>
        <!--			<i class="layui-icon" lay-event="state">&#xe631;</i>-->
    </span>
</script>
</html>
